﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{-include file="`$__PHY_WEB``$__DIR_ADM`/block/meta.tpl"-}
<title>账号信息 - 后台</title>
</head>

<body>
<div class="sAll">

{-include file="`$__PHY_WEB``$__DIR_ADM`/block/header.tpl"-}
{-php-}include(__PHY_WEB.__DIR_ADM."/block/menu.php");{-/php-}
{-include file="`$__PHY_WEB``$__DIR_ADM`/block/menu.tpl" uL=$rNav-}

<div class="sL">
	<div class="sW main">
<!-- <main> -->
{- if $sMsg -}{- include file="`$__PHY_WEB``$__DIR_ADM`/block/message.tpl" -}{- /if -}

<style type="text/css">
<!--
.area { margin-right:20px; }
.area p { font-weight:bold; }
-->
</style>
<div class="sL area">
	<p>帐户信息</p>
	<table>
		<tr>
			<td align="right">账号：</td>
			<td>{-$rUser.user_ename|escape:html-}</td>
		</tr>
		<tr>
			<td align="right">名字：</td>
			<td>{-$rUser.user_cname|escape:html-}</td>
		</tr>
		<tr>
			<td align="right">上级：</td>
			<td>{-$rUser.Leader|escape:html-}</td>
		</tr>
		<tr>
			<td align="right">下属管理：</td>
			<td>{-if $rUser.grantable-}开放{-else-}关闭{-/if-}</td>
		</tr>
	</table>
</div>
<div class="sL area">
	<p>修改密码</p>
	<table>
		<form method="post" action="?">
		<tr>
			<td>原密码：</td>
			<td><input type="password" name="old_pswd" /></td>
		</tr>
		<tr>
			<td>新密码：</td>
			<td><input type="password" name="new_pswd" /></td>
		</tr>
		<tr>
			<td>重复：</td>
			<td><input type="password" name="rep_pswd" /></td>
		</tr>
		<tr>
			<td colspan="2" align="center"><input type="submit" name="action" value="update" /></td>
		</tr>
		</form>
	</table>
</div>
<!-- </main> -->
	</div>
</div>

{- include file="`$__PHY_WEB``$__DIR_ADM`/block/footer.tpl" -}

</div><!-- end all -->
</body>
</html>
